﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Server.Models
{
    public class UserInfo
    {
        #region 平台基本信息
        /// <summary>
        /// 用户ID
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 登录名
        /// </summary>
        public string LoginName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
        /// <summary>
        /// 密码盐
        /// </summary>
        public string Sault { get; set; }
        /// <summary>
        /// 用户状态 0正常，1到续费期，2手动禁用
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 托管公司ID
        /// </summary>
        public int MCompanyId { get; set; }
        /// <summary>
        /// 管理公司名
        /// </summary>
        public string MCompanyName { get; set; }
        /// <summary>
        /// 设备表对应ID
        /// </summary>
        public int DeviceId { get; set; }
        /// <summary>
        /// 设备备注
        /// </summary>
        public string DeviceRemark { get; set; }
        /// <summary>
        /// 设备Session
        /// </summary>
        public string DeviceSession { get; set; }
        /// <summary>
        /// 设备Session过期时间
        /// </summary>
        public DateTime SessionExpired { get; set; }
        /// <summary>
        /// 托管服务到期时间
        /// </summary>
        public DateTime ExpireTime { get; set; }
        #endregion
        #region 基本联系信息
        /// <summary>
        /// 企业名
        /// </summary>
        public string CompanyName { get; set; }
        /// <summary>
        /// 联系人姓名
        /// </summary>
        public string ContactName { get; set; }
        /// <summary>
        /// 公司座机电话号码 
        /// </summary>
        public string TelNum { get; set; }
        /// <summary>
        /// 联系人手机号码
        /// </summary>
        public string MobNum { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string Address { get; set; }
        /// <summary>
        /// 省ID
        /// </summary>
        public int ProvinceId { get; set; }
        /// <summary>
        /// 省名称
        /// </summary>
        public string ProvinceName { get; set; }
        /// <summary>
        /// 城市ID
        /// </summary>
        public int CityId { get; set; }
        /// <summary>
        /// 城市名称
        /// </summary>
        public string CityName { get; set; }
        /// <summary>
        /// 区县ID
        /// </summary>
        public int DistrictId { get; set; }
        /// <summary>
        /// 区县名称
        /// </summary>
        public string DistrictName { get; set; }
        #endregion
        #region 税务相关
        /// <summary>
        /// 税号
        /// </summary>
        public string TaxNum { get; set; }
        /// <summary>
        /// 开户行
        /// </summary>
        public string BankName { get; set; }
        /// <summary>
        /// 银行账号
        /// </summary>
        public string BankNum { get; set; }
        /// <summary>
        /// 所属税务机关省ID
        /// </summary>
        public int SBProvinceId { get; set; }
        /// <summary>
        /// 所属税务机关省名称
        /// </summary>
        public string SBProvinceName { get; set; }
        /// <summary>
        /// 所属税务机关市级ID
        /// </summary>
        public int SBCityId { get; set; }
        /// <summary>
        /// 所属税务机关市级名称
        /// </summary>
        public string SBCityName { get; set; }
        /// <summary>
        /// 所属税务机关ID
        /// </summary>
        public int SBId { get; set; }
        /// <summary>
        /// 所属税务机关名称
        /// </summary>
        public string SBName { get; set; }
        /// <summary>
        /// 行业大类编号
        /// </summary>
        public string TradeBigId { get; set; }
        /// <summary>
        /// 行业大类名称
        /// </summary>
        public string TradeBigName { get; set; }
        /// <summary>
        /// 行业中类编号
        /// </summary>
        public string  TradeMidId { get; set; }
        /// <summary>
        /// 行业中类名称
        /// </summary>
        public string TradeMidName { get; set; }
        /// <summary>
        /// 行业小类编号
        /// </summary>
        public string TradeSmallId { get; set; }
        /// <summary>
        /// 行业小类名称
        /// </summary>
        public string TradeSmallName { get; set; }
        #endregion
    }
}
